#pragma once

#include "DirichletBCBase.h"
#include "LinearInterpolation.h"

// Forward Declarations
class TimeDirichletBC;

template <>
InputParameters validParams<TimeDirichletBC>();

/**
 * Boundary condition of a Dirichlet type
 *
 * Sets the value in the node
 */
class TimeDirichletBC : public DirichletBCBase
{
public:
	static InputParameters validParams();

	TimeDirichletBC(const InputParameters& parameters);

protected:
	virtual Real computeQpValue() override;

	LinearInterpolation  _func_value_t;

	std::vector<Real>  _time_list; //to get list of time
	std::vector<Real>  _value_list; //to get  list of vlaue

};